package edu.inf3.j2ee.entities;


/**
 * @author goundy
 *
 */
public class Mark {

	private long id;
	private Weighting weight;
	private Student student;
	private int value;
	
	public Mark() {
	}

	public Mark(Student student, int value, Weighting weight) {
		super();
		this.student = student;
		this.value = value;
		this.weight = weight;
	}

	/**
	 * @return the id
	 */
	public long getId() {
		return id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(long id) {
		this.id = id;
	}

	/**
	 * @return the weight
	 */
	public Weighting getWeight() {
		return weight;
	}

	/**
	 * @param weight the weight to set
	 */
	public void setWeight(Weighting weight) {
		this.weight = weight;
	}

	/**
	 * @return the student
	 */
	public Student getStudent() {
		return student;
	}

	/**
	 * @param student the student to set
	 */
	public void setStudent(Student student) {
		this.student = student;
	}

	/**
	 * @return the value
	 */
	public int getValue() {
		return value;
	}

	/**
	 * @param value the value to set
	 */
	public void setValue(int value) {
		this.value = value;
	}	
	
	
	
}
